﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace VkApi
{
    /// <summary>
    /// Class that represents question information.
    /// </summary>
    public class Question
    {
        /// <summary>
        /// Question ID.
        /// </summary>
        public long qid;
        /// <summary>
        /// User ID.
        /// </summary>
        public long uid;
        /// <summary>
        /// Type.
        /// </summary>
        public int type;
        /// <summary>
        /// Text of the question.
        /// </summary>
        public string text;
        /// <summary>
        /// Answer number.
        /// </summary>
        public long answers_num;
        /// <summary>
        /// Last poster user ID.
        /// </summary>
        public long last_poster_id;
        /// <summary>
        /// Last poster name.
        /// </summary>
        public string last_poster_name;
        /// <summary>
        /// Last post date.
        /// </summary>
        public string last_poster_date;
        /// <summary>
        /// Date.
        /// </summary>
        public string date;
        /// <summary>
        /// Name of the curent user. If need_profiles>0.
        /// </summary>
        public string name;
        /// <summary>
        /// Photo of user. If need_profiles>0.
        /// </summary>
        public string photo;
        /// <summary>
        /// Online status. If need_profiles>0.
        /// </summary>
        public int online;
    }
}
